/*
 * @Autor: ZN
 * @LastEditors: ZN
 * @Date: 2023-05-05 15:36:21
 * @LastEditTime: 2023-05-10 15:47:55
 * @Description: 
 */
import Mock from 'mockjs'
import api from './data/api' // 机构列表
import home from './data/home' // 首页
import commodity from './data/commodity' //服装模块
import scenicSpot from './data/scenicSpot' // 首页
import daily from "./data/daily" // 心情随笔

Mock.mock('/api/list', 'get', api.getList) // 查
Mock.mock('/api/create', 'post', api.create) // 增

Mock.mock('/api/homeList', 'get', home.getTotalList) // 查

Mock.mock('/api/scenicSpot', 'get', scenicSpot.getTotalList) // 查

Mock.mock('/commodity/query','get',commodity.query) //查
Mock.mock('/commodity/add','post',commodity.add) //增
Mock.mock('/commodity/getTableData','get',commodity.getTableData) //获取列表
Mock.mock('/commodity/delData','post',commodity.delData) //删
Mock.mock('/commodity/editData','post',commodity.editData) //改

Mock.mock('/daily/getDataList','get',daily.getDataList) //查

// 四个echarts 图
Mock.mock('/home/getLineChart','get',home.getLineChartData) //查
Mock.mock('/home/getBarChart','get',home.getBarChartData) //查
Mock.mock('/home/getPieChart','get',home.getPieChartData) //查
Mock.mock('/home/getRadarChart','get',home.getRadarChartData) //查


export default Mock
